package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 mdjf_case_main_message
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class MdjfCaseMainMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息通知 */
    private Long id;

    /** 关联id */
    @Excel(name = "关联id")
    private Long linkId;

    /** 关联类型 案件状态  处理状态   0：待受理 1：待处理 2：处理中 3：已办结 */
    @Excel(name = "关联类型 案件状态  处理状态   0：待受理 1：待处理 2：处理中 3：已办结")
    private Integer linkType;

    /** 消息数据 */
    @Excel(name = "消息数据")
    private String message;

    /** 0：正常状态 1：删除状态（回收站） */
    @Excel(name = "0：正常状态 1：删除状态", readConverterExp = "回=收站")
    private Integer status;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLinkId(Long linkId) 
    {
        this.linkId = linkId;
    }

    public Long getLinkId() 
    {
        return linkId;
    }

    public void setLinkType(Integer linkType) 
    {
        this.linkType = linkType;
    }

    public Integer getLinkType() 
    {
        return linkType;
    }

    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("linkId", getLinkId())
            .append("linkType", getLinkType())
            .append("message", getMessage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
